package com.wing.res.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 工位管理
 * @Project: szgc
 * @Package: com.wing.res.model.entity.ResWorkStation
 * @Date: 2025/02/11 11:40
 * @Author: heZhou
 * @Version: 1.0
 */

@EqualsAndHashCode(callSuper = true)
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("res_work_station")
public class ResWorkStation extends BaseEntity<ResWorkStation> implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer day;

    private Integer no;

    /**
     * 计划编号
     */
    private String code;

    /**
     * 工位名称
     */
    private String name;

    /**
     * 企业编号
     */
    private String enterpriseCode;

    /**
     * 车间id
     */
    private Long workshopId;

    /**
     * 工位性质
     */
    private String nature;

    /**
     * 工站id
     */
    private Long workstationId;

    /**
     * 责任岗位
     */
    private Long postId;
    private String postName;

    /**
     * 责任部门
     */
    private Long departmentId;
    private String departmentName;


    /**
     * 工种
     */
    private Long professionId;


    /**
     * 设备型号(设备SPU)
     */
    private Long deviceModelSpuId;

    /**
     * 设备编号(设备SKU)
     */
    private Long deviceSkuId;
}
